Feature: Como usuario puedo crear una nueva pagina, ver la pagina en la lista de paginas, editarla
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 20.805s |
Scenario: Como usuario inicio sesion con credenciales correctas, creo una pagina, luego la veo en la lista de paginas, luego la edito, confirmo que existe con su nuevo nombre, luego la elimino.
Before
0m 0.654s
Given
I navigate to page "<HOST>"
0m 3.259s
And
I wait for 2 seconds
0m 2.315s
When
I login with correct credentials "<EMAIL>" "<PASSWORD>"
0m 0.773s
And
I wait for 2 seconds
0m 2.349s
And
I go to pages screen
0m 1.427s
When
I select go to the page form
0m 0.932s
And
I fill the title "Example page" and description
0m 0.406s
And
I open-close the page settings
0m 0.365s
And
I fill a page url "example"
0m 0.363s
And
I open-close the page settings
0m 0.513s
And
I publish the page
0m 0.371s
And
I confirm the publish page
0m 0.887s
And
I wait for 2 seconds
0m 2.359s
And
I return to the dashboard
0m 0.482s
And
I wait for 2 seconds
0m 2.435s
And
I go to pages screen
0m 0.913s
+ Show Error
AssertionError: expected 'http://54.188.89.84/ghost/#/dashboard' to include '/pages'
at KrakenWorld.<anonymous> (/Users/felipev9/Documents/Felipe-Dev/MAESTRIA_UNIAND/TEST-AUTOMATED/week-6/ghost-e2e/kraken-tests/v5.81.1/features/web/step_definitions/step.js:47:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
And
I wait for 2 seconds
0m 0.000s
Then
I check exist the page with name "Example page"
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I open the page with name "Example page"
0m 0.000s
And
I edit the title with the name "Page with TAG"
0m 0.000s
And
I open-close the page settings
0m 0.000s
And
I choose a Tag
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I open-close the page settings
0m 0.000s
And
I update the page
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I return to the pages screens
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I open the page with name "Page with TAG"
0m 0.000s
And
I open-close the page settings
0m 0.000s
And
I deleted the page
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
Then
I check not exist the page with name "Page with TAG"
0m 0.000s
After
0m 0.002s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "<HOST>"
And
I wait for 2 seconds
When
I login with correct credentials "<EMAIL>" "<PASSWORD>"
And
I wait for 2 seconds
And
I go to pages screen
When
I select go to the page form
And
I fill the title "Example page" and description
And
I open-close the page settings
And
I fill a page url "example"
And
I open-close the page settings
And
I publish the page
And
I confirm the publish page
And
I wait for 2 seconds
And
I return to the dashboard
And
I wait for 2 seconds
And
I go to pages screen
And
I wait for 2 seconds
NO IMAGE AVAILABLE
Then
I check exist the page with name "Example page"
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I open the page with name "Example page"
NO IMAGE AVAILABLE
And
I edit the title with the name "Page with TAG"
NO IMAGE AVAILABLE
And
I open-close the page settings
NO IMAGE AVAILABLE
And
I choose a Tag
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I open-close the page settings
NO IMAGE AVAILABLE
And
I update the page
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I return to the pages screens
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I open the page with name "Page with TAG"
NO IMAGE AVAILABLE
And
I open-close the page settings
NO IMAGE AVAILABLE
And
I deleted the page
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
Then
I check not exist the page with name "Page with TAG"
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE